package com.yourenbang.lingyun.transaction.web.domain.dto.migrate.kuaishou;

import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据同步
 * @author fengrui
 */
@Data
public class MigrateDTO implements Serializable, ToJSON {

    public static final String OPT_INSERT = "insert";
    public static final String OPT_UPDATE = "update";

    /**
     * 更新商户变更表状态
     */
    public static final String OPT_MER_UPDATE_STATUS = "merUpdateStatus";

    /**
     * 更新商户变更表历史状态
     */
    public static final String OPT_MER_UPDATE_HISTORY = "merUpdateHistory";

    public static final String OPT_UPDATE_ACTIVITY = "updateActivity";
    public static final String OPT_DELETE = "delete";
    public static final String OPT_MERCHANT= "merchant";
    public static final String OPT_TRANSACTION = "transaction";
    public static final String OPT_FEE = "fee";
    public static final String OPT_POS_ACTIVATE = "pos_activate";

    public static final String FROM_EPOS = "epos";
    public static final String FROM_P35 = "P35";
    /**
     * 乐刷相关
     */
    public static final String FROM_LS = "ls";

    /**
     * 表名称
     */
    private String tabelName;

    /**
     * insert update delete
     */
    private String opt;

    /**
     * json对象
     */
    private String data;

    /**
     * 交易来源
     */
    private String from;
}
